/**
 * Created with JetBrains WebStorm.
 * User: Fred_974
 * Date: 08/03/13
 * Time: 23:07
 * To change this template use File | Settings | File Templates.
 */
/**
 * Created with JetBrains WebStorm.
 * User: Fred_974
 * Date: 08/03/13
 * Time: 22:56
 * To change this template use File | Settings | File Templates.
 */
/**
 * Created with JetBrains WebStorm.
 * User: Fred_974
 * Date: 08/03/13
 * Time: 22:42
 * To change this template use File | Settings | File Templates.
 */

var Plantation = function Plantation(){

}

Plantation.prototype = {
    initialize : function() {
        this.id,
        this.name,
        this.growRate,
        this.decayTime,
        this.productivity,
        this.storability,
        this.seedPrice,
        this.finalPrice;
    },


    init : function(parameters){

        console.log(parameters);
        this.id = parameters.id;
        this.name= parameters.name;
        this.growRate = parameters.growRate;
        this.decayTime = parameters.decayTime;
        this.productivity = parameters.productivity;
        this.storability = parameters.storability;
        this.seedPrice = parameters.seedPrice;
        this.finalPrice = parameters.finalPrice;
    }
}


module.exports = Plantation;
